package top.huntwolf.admin.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import top.huntwolf.admin.pojo.Banner;
import top.huntwolf.admin.pojo.cmsUser.Route;

import java.util.List;

@Mapper
@Repository
public interface RouteDao {

    public List<Route> selectAll();

    public void insert(Route route);

    public void delete(Integer id);

    int update(Route route);

    public Route selectById(Integer id);


}
